Programming Intelligent Control